<?php 
namespace app\index\controller;

class Blog
{
    public function index($id)
    {
        return "查看ID=". $id ."的内容";
    }

    public function read($name)
    {
        return "读取 name为". $name ."的资料";
    }

    public function article($year, $mouth)
    {
        return "查阅". $year.'/'.$mouth ."的文章";
    }
}



